package com.lframework.starter.web.core.components.generator.rule.impl;

import com.lframework.starter.web.core.components.generator.rule.AbstractGenerateCodeRule;
import com.lframework.starter.web.core.components.generator.rule.GenerateCodeRule;
import lombok.Data;

import java.io.Serializable;

/**
 * 自定义随机字符串生成规则
 */
@Data
public class CustomRandomStrGenerateCodeRule extends AbstractGenerateCodeRule implements GenerateCodeRule, Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 字符池
     */
    private String pool;

    /**
     * 长度
     */
    private Integer len;
}
